package com.dream.technology.db.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcborrowingSnapshotQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RcborrowingSnapshotQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateIsNull() {
            addCriterion("regist_date is null");
            return (Criteria) this;
        }

        public Criteria andRegistDateIsNotNull() {
            addCriterion("regist_date is not null");
            return (Criteria) this;
        }

        public Criteria andRegistDateEqualTo(Date value) {
            addCriterion("regist_date =", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateNotEqualTo(Date value) {
            addCriterion("regist_date <>", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateGreaterThan(Date value) {
            addCriterion("regist_date >", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateGreaterThanOrEqualTo(Date value) {
            addCriterion("regist_date >=", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateLessThan(Date value) {
            addCriterion("regist_date <", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateLessThanOrEqualTo(Date value) {
            addCriterion("regist_date <=", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateIn(List<Date> values) {
            addCriterion("regist_date in", values, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateNotIn(List<Date> values) {
            addCriterion("regist_date not in", values, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateBetween(Date value1, Date value2) {
            addCriterion("regist_date between", value1, value2, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateNotBetween(Date value1, Date value2) {
            addCriterion("regist_date not between", value1, value2, "registDate");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeIsNull() {
            addCriterion("borrowing_time is null");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeIsNotNull() {
            addCriterion("borrowing_time is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeEqualTo(Date value) {
            addCriterion("borrowing_time =", value, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeNotEqualTo(Date value) {
            addCriterion("borrowing_time <>", value, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeGreaterThan(Date value) {
            addCriterion("borrowing_time >", value, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("borrowing_time >=", value, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeLessThan(Date value) {
            addCriterion("borrowing_time <", value, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeLessThanOrEqualTo(Date value) {
            addCriterion("borrowing_time <=", value, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeIn(List<Date> values) {
            addCriterion("borrowing_time in", values, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeNotIn(List<Date> values) {
            addCriterion("borrowing_time not in", values, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeBetween(Date value1, Date value2) {
            addCriterion("borrowing_time between", value1, value2, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andBorrowingTimeNotBetween(Date value1, Date value2) {
            addCriterion("borrowing_time not between", value1, value2, "borrowingTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeIsNull() {
            addCriterion("predict_repayment_time is null");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeIsNotNull() {
            addCriterion("predict_repayment_time is not null");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeEqualTo(Date value) {
            addCriterion("predict_repayment_time =", value, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeNotEqualTo(Date value) {
            addCriterion("predict_repayment_time <>", value, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeGreaterThan(Date value) {
            addCriterion("predict_repayment_time >", value, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("predict_repayment_time >=", value, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeLessThan(Date value) {
            addCriterion("predict_repayment_time <", value, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeLessThanOrEqualTo(Date value) {
            addCriterion("predict_repayment_time <=", value, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeIn(List<Date> values) {
            addCriterion("predict_repayment_time in", values, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeNotIn(List<Date> values) {
            addCriterion("predict_repayment_time not in", values, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeBetween(Date value1, Date value2) {
            addCriterion("predict_repayment_time between", value1, value2, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andPredictRepaymentTimeNotBetween(Date value1, Date value2) {
            addCriterion("predict_repayment_time not between", value1, value2, "predictRepaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeIsNull() {
            addCriterion("repayment_time is null");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeIsNotNull() {
            addCriterion("repayment_time is not null");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeEqualTo(Date value) {
            addCriterion("repayment_time =", value, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeNotEqualTo(Date value) {
            addCriterion("repayment_time <>", value, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeGreaterThan(Date value) {
            addCriterion("repayment_time >", value, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("repayment_time >=", value, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeLessThan(Date value) {
            addCriterion("repayment_time <", value, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeLessThanOrEqualTo(Date value) {
            addCriterion("repayment_time <=", value, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeIn(List<Date> values) {
            addCriterion("repayment_time in", values, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeNotIn(List<Date> values) {
            addCriterion("repayment_time not in", values, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeBetween(Date value1, Date value2) {
            addCriterion("repayment_time between", value1, value2, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andRepaymentTimeNotBetween(Date value1, Date value2) {
            addCriterion("repayment_time not between", value1, value2, "repaymentTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeIsNull() {
            addCriterion("loan_time is null");
            return (Criteria) this;
        }

        public Criteria andLoanTimeIsNotNull() {
            addCriterion("loan_time is not null");
            return (Criteria) this;
        }

        public Criteria andLoanTimeEqualTo(Date value) {
            addCriterion("loan_time =", value, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeNotEqualTo(Date value) {
            addCriterion("loan_time <>", value, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeGreaterThan(Date value) {
            addCriterion("loan_time >", value, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("loan_time >=", value, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeLessThan(Date value) {
            addCriterion("loan_time <", value, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeLessThanOrEqualTo(Date value) {
            addCriterion("loan_time <=", value, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeIn(List<Date> values) {
            addCriterion("loan_time in", values, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeNotIn(List<Date> values) {
            addCriterion("loan_time not in", values, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeBetween(Date value1, Date value2) {
            addCriterion("loan_time between", value1, value2, "loanTime");
            return (Criteria) this;
        }

        public Criteria andLoanTimeNotBetween(Date value1, Date value2) {
            addCriterion("loan_time not between", value1, value2, "loanTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNull() {
            addCriterion("apply_time is null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNotNull() {
            addCriterion("apply_time is not null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeEqualTo(Date value) {
            addCriterion("apply_time =", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotEqualTo(Date value) {
            addCriterion("apply_time <>", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThan(Date value) {
            addCriterion("apply_time >", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("apply_time >=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThan(Date value) {
            addCriterion("apply_time <", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThanOrEqualTo(Date value) {
            addCriterion("apply_time <=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIn(List<Date> values) {
            addCriterion("apply_time in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotIn(List<Date> values) {
            addCriterion("apply_time not in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeBetween(Date value1, Date value2) {
            addCriterion("apply_time between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotBetween(Date value1, Date value2) {
            addCriterion("apply_time not between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andAgeIsNull() {
            addCriterion("age is null");
            return (Criteria) this;
        }

        public Criteria andAgeIsNotNull() {
            addCriterion("age is not null");
            return (Criteria) this;
        }

        public Criteria andAgeEqualTo(Integer value) {
            addCriterion("age =", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotEqualTo(Integer value) {
            addCriterion("age <>", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThan(Integer value) {
            addCriterion("age >", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("age >=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThan(Integer value) {
            addCriterion("age <", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThanOrEqualTo(Integer value) {
            addCriterion("age <=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeIn(List<Integer> values) {
            addCriterion("age in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotIn(List<Integer> values) {
            addCriterion("age not in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeBetween(Integer value1, Integer value2) {
            addCriterion("age between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("age not between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(Boolean value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(Boolean value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(Boolean value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(Boolean value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(Boolean value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(Boolean value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<Boolean> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<Boolean> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(Boolean value1, Boolean value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(Boolean value1, Boolean value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsIsNull() {
            addCriterion("interestPeriods is null");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsIsNotNull() {
            addCriterion("interestPeriods is not null");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsEqualTo(Integer value) {
            addCriterion("interestPeriods =", value, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsNotEqualTo(Integer value) {
            addCriterion("interestPeriods <>", value, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsGreaterThan(Integer value) {
            addCriterion("interestPeriods >", value, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsGreaterThanOrEqualTo(Integer value) {
            addCriterion("interestPeriods >=", value, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsLessThan(Integer value) {
            addCriterion("interestPeriods <", value, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsLessThanOrEqualTo(Integer value) {
            addCriterion("interestPeriods <=", value, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsIn(List<Integer> values) {
            addCriterion("interestPeriods in", values, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsNotIn(List<Integer> values) {
            addCriterion("interestPeriods not in", values, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsBetween(Integer value1, Integer value2) {
            addCriterion("interestPeriods between", value1, value2, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andInterestperiodsNotBetween(Integer value1, Integer value2) {
            addCriterion("interestPeriods not between", value1, value2, "interestperiods");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountIsNull() {
            addCriterion("borrowing_amount is null");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountIsNotNull() {
            addCriterion("borrowing_amount is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountEqualTo(Integer value) {
            addCriterion("borrowing_amount =", value, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountNotEqualTo(Integer value) {
            addCriterion("borrowing_amount <>", value, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountGreaterThan(Integer value) {
            addCriterion("borrowing_amount >", value, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountGreaterThanOrEqualTo(Integer value) {
            addCriterion("borrowing_amount >=", value, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountLessThan(Integer value) {
            addCriterion("borrowing_amount <", value, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountLessThanOrEqualTo(Integer value) {
            addCriterion("borrowing_amount <=", value, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountIn(List<Integer> values) {
            addCriterion("borrowing_amount in", values, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountNotIn(List<Integer> values) {
            addCriterion("borrowing_amount not in", values, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountBetween(Integer value1, Integer value2) {
            addCriterion("borrowing_amount between", value1, value2, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andBorrowingAmountNotBetween(Integer value1, Integer value2) {
            addCriterion("borrowing_amount not between", value1, value2, "borrowingAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountIsNull() {
            addCriterion("loan_amount is null");
            return (Criteria) this;
        }

        public Criteria andLoanAmountIsNotNull() {
            addCriterion("loan_amount is not null");
            return (Criteria) this;
        }

        public Criteria andLoanAmountEqualTo(Integer value) {
            addCriterion("loan_amount =", value, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountNotEqualTo(Integer value) {
            addCriterion("loan_amount <>", value, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountGreaterThan(Integer value) {
            addCriterion("loan_amount >", value, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountGreaterThanOrEqualTo(Integer value) {
            addCriterion("loan_amount >=", value, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountLessThan(Integer value) {
            addCriterion("loan_amount <", value, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountLessThanOrEqualTo(Integer value) {
            addCriterion("loan_amount <=", value, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountIn(List<Integer> values) {
            addCriterion("loan_amount in", values, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountNotIn(List<Integer> values) {
            addCriterion("loan_amount not in", values, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountBetween(Integer value1, Integer value2) {
            addCriterion("loan_amount between", value1, value2, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andLoanAmountNotBetween(Integer value1, Integer value2) {
            addCriterion("loan_amount not between", value1, value2, "loanAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountIsNull() {
            addCriterion("repayment_amount is null");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountIsNotNull() {
            addCriterion("repayment_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountEqualTo(Integer value) {
            addCriterion("repayment_amount =", value, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountNotEqualTo(Integer value) {
            addCriterion("repayment_amount <>", value, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountGreaterThan(Integer value) {
            addCriterion("repayment_amount >", value, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountGreaterThanOrEqualTo(Integer value) {
            addCriterion("repayment_amount >=", value, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountLessThan(Integer value) {
            addCriterion("repayment_amount <", value, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountLessThanOrEqualTo(Integer value) {
            addCriterion("repayment_amount <=", value, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountIn(List<Integer> values) {
            addCriterion("repayment_amount in", values, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountNotIn(List<Integer> values) {
            addCriterion("repayment_amount not in", values, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountBetween(Integer value1, Integer value2) {
            addCriterion("repayment_amount between", value1, value2, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andRepaymentAmountNotBetween(Integer value1, Integer value2) {
            addCriterion("repayment_amount not between", value1, value2, "repaymentAmount");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberIsNull() {
            addCriterion("idcard_number is null");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberIsNotNull() {
            addCriterion("idcard_number is not null");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberEqualTo(String value) {
            addCriterion("idcard_number =", value, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberNotEqualTo(String value) {
            addCriterion("idcard_number <>", value, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberGreaterThan(String value) {
            addCriterion("idcard_number >", value, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberGreaterThanOrEqualTo(String value) {
            addCriterion("idcard_number >=", value, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberLessThan(String value) {
            addCriterion("idcard_number <", value, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberLessThanOrEqualTo(String value) {
            addCriterion("idcard_number <=", value, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberLike(String value) {
            addCriterion("idcard_number like", value, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberNotLike(String value) {
            addCriterion("idcard_number not like", value, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberIn(List<String> values) {
            addCriterion("idcard_number in", values, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberNotIn(List<String> values) {
            addCriterion("idcard_number not in", values, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberBetween(String value1, String value2) {
            addCriterion("idcard_number between", value1, value2, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andIdcardNumberNotBetween(String value1, String value2) {
            addCriterion("idcard_number not between", value1, value2, "idcardNumber");
            return (Criteria) this;
        }

        public Criteria andNationIsNull() {
            addCriterion("nation is null");
            return (Criteria) this;
        }

        public Criteria andNationIsNotNull() {
            addCriterion("nation is not null");
            return (Criteria) this;
        }

        public Criteria andNationEqualTo(String value) {
            addCriterion("nation =", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotEqualTo(String value) {
            addCriterion("nation <>", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThan(String value) {
            addCriterion("nation >", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThanOrEqualTo(String value) {
            addCriterion("nation >=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThan(String value) {
            addCriterion("nation <", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThanOrEqualTo(String value) {
            addCriterion("nation <=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLike(String value) {
            addCriterion("nation like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotLike(String value) {
            addCriterion("nation not like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationIn(List<String> values) {
            addCriterion("nation in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotIn(List<String> values) {
            addCriterion("nation not in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationBetween(String value1, String value2) {
            addCriterion("nation between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotBetween(String value1, String value2) {
            addCriterion("nation not between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andMobileTypeIsNull() {
            addCriterion("mobile_type is null");
            return (Criteria) this;
        }

        public Criteria andMobileTypeIsNotNull() {
            addCriterion("mobile_type is not null");
            return (Criteria) this;
        }

        public Criteria andMobileTypeEqualTo(String value) {
            addCriterion("mobile_type =", value, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeNotEqualTo(String value) {
            addCriterion("mobile_type <>", value, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeGreaterThan(String value) {
            addCriterion("mobile_type >", value, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeGreaterThanOrEqualTo(String value) {
            addCriterion("mobile_type >=", value, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeLessThan(String value) {
            addCriterion("mobile_type <", value, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeLessThanOrEqualTo(String value) {
            addCriterion("mobile_type <=", value, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeLike(String value) {
            addCriterion("mobile_type like", value, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeNotLike(String value) {
            addCriterion("mobile_type not like", value, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeIn(List<String> values) {
            addCriterion("mobile_type in", values, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeNotIn(List<String> values) {
            addCriterion("mobile_type not in", values, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeBetween(String value1, String value2) {
            addCriterion("mobile_type between", value1, value2, "mobileType");
            return (Criteria) this;
        }

        public Criteria andMobileTypeNotBetween(String value1, String value2) {
            addCriterion("mobile_type not between", value1, value2, "mobileType");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdIsNull() {
            addCriterion("borrowingform_id is null");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdIsNotNull() {
            addCriterion("borrowingform_id is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdEqualTo(String value) {
            addCriterion("borrowingform_id =", value, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdNotEqualTo(String value) {
            addCriterion("borrowingform_id <>", value, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdGreaterThan(String value) {
            addCriterion("borrowingform_id >", value, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdGreaterThanOrEqualTo(String value) {
            addCriterion("borrowingform_id >=", value, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdLessThan(String value) {
            addCriterion("borrowingform_id <", value, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdLessThanOrEqualTo(String value) {
            addCriterion("borrowingform_id <=", value, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdLike(String value) {
            addCriterion("borrowingform_id like", value, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdNotLike(String value) {
            addCriterion("borrowingform_id not like", value, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdIn(List<String> values) {
            addCriterion("borrowingform_id in", values, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdNotIn(List<String> values) {
            addCriterion("borrowingform_id not in", values, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdBetween(String value1, String value2) {
            addCriterion("borrowingform_id between", value1, value2, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andBorrowingformIdNotBetween(String value1, String value2) {
            addCriterion("borrowingform_id not between", value1, value2, "borrowingformId");
            return (Criteria) this;
        }

        public Criteria andChinnelIsNull() {
            addCriterion("chinnel is null");
            return (Criteria) this;
        }

        public Criteria andChinnelIsNotNull() {
            addCriterion("chinnel is not null");
            return (Criteria) this;
        }

        public Criteria andChinnelEqualTo(String value) {
            addCriterion("chinnel =", value, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelNotEqualTo(String value) {
            addCriterion("chinnel <>", value, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelGreaterThan(String value) {
            addCriterion("chinnel >", value, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelGreaterThanOrEqualTo(String value) {
            addCriterion("chinnel >=", value, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelLessThan(String value) {
            addCriterion("chinnel <", value, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelLessThanOrEqualTo(String value) {
            addCriterion("chinnel <=", value, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelLike(String value) {
            addCriterion("chinnel like", value, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelNotLike(String value) {
            addCriterion("chinnel not like", value, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelIn(List<String> values) {
            addCriterion("chinnel in", values, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelNotIn(List<String> values) {
            addCriterion("chinnel not in", values, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelBetween(String value1, String value2) {
            addCriterion("chinnel between", value1, value2, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChinnelNotBetween(String value1, String value2) {
            addCriterion("chinnel not between", value1, value2, "chinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelIsNull() {
            addCriterion("child_chinnel is null");
            return (Criteria) this;
        }

        public Criteria andChildChinnelIsNotNull() {
            addCriterion("child_chinnel is not null");
            return (Criteria) this;
        }

        public Criteria andChildChinnelEqualTo(String value) {
            addCriterion("child_chinnel =", value, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelNotEqualTo(String value) {
            addCriterion("child_chinnel <>", value, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelGreaterThan(String value) {
            addCriterion("child_chinnel >", value, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelGreaterThanOrEqualTo(String value) {
            addCriterion("child_chinnel >=", value, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelLessThan(String value) {
            addCriterion("child_chinnel <", value, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelLessThanOrEqualTo(String value) {
            addCriterion("child_chinnel <=", value, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelLike(String value) {
            addCriterion("child_chinnel like", value, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelNotLike(String value) {
            addCriterion("child_chinnel not like", value, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelIn(List<String> values) {
            addCriterion("child_chinnel in", values, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelNotIn(List<String> values) {
            addCriterion("child_chinnel not in", values, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelBetween(String value1, String value2) {
            addCriterion("child_chinnel between", value1, value2, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andChildChinnelNotBetween(String value1, String value2) {
            addCriterion("child_chinnel not between", value1, value2, "childChinnel");
            return (Criteria) this;
        }

        public Criteria andPlatformIsNull() {
            addCriterion("platform is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIsNotNull() {
            addCriterion("platform is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformEqualTo(String value) {
            addCriterion("platform =", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotEqualTo(String value) {
            addCriterion("platform <>", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformGreaterThan(String value) {
            addCriterion("platform >", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformGreaterThanOrEqualTo(String value) {
            addCriterion("platform >=", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformLessThan(String value) {
            addCriterion("platform <", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformLessThanOrEqualTo(String value) {
            addCriterion("platform <=", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformLike(String value) {
            addCriterion("platform like", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotLike(String value) {
            addCriterion("platform not like", value, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformIn(List<String> values) {
            addCriterion("platform in", values, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotIn(List<String> values) {
            addCriterion("platform not in", values, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformBetween(String value1, String value2) {
            addCriterion("platform between", value1, value2, "platform");
            return (Criteria) this;
        }

        public Criteria andPlatformNotBetween(String value1, String value2) {
            addCriterion("platform not between", value1, value2, "platform");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysIsNull() {
            addCriterion("overdue_days is null");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysIsNotNull() {
            addCriterion("overdue_days is not null");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysEqualTo(Integer value) {
            addCriterion("overdue_days =", value, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysNotEqualTo(Integer value) {
            addCriterion("overdue_days <>", value, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysGreaterThan(Integer value) {
            addCriterion("overdue_days >", value, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("overdue_days >=", value, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysLessThan(Integer value) {
            addCriterion("overdue_days <", value, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysLessThanOrEqualTo(Integer value) {
            addCriterion("overdue_days <=", value, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysIn(List<Integer> values) {
            addCriterion("overdue_days in", values, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysNotIn(List<Integer> values) {
            addCriterion("overdue_days not in", values, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysBetween(Integer value1, Integer value2) {
            addCriterion("overdue_days between", value1, value2, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andOverdueDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("overdue_days not between", value1, value2, "overdueDays");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreIsNull() {
            addCriterion("xigua_score is null");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreIsNotNull() {
            addCriterion("xigua_score is not null");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreEqualTo(Integer value) {
            addCriterion("xigua_score =", value, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreNotEqualTo(Integer value) {
            addCriterion("xigua_score <>", value, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreGreaterThan(Integer value) {
            addCriterion("xigua_score >", value, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("xigua_score >=", value, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreLessThan(Integer value) {
            addCriterion("xigua_score <", value, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreLessThanOrEqualTo(Integer value) {
            addCriterion("xigua_score <=", value, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreIn(List<Integer> values) {
            addCriterion("xigua_score in", values, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreNotIn(List<Integer> values) {
            addCriterion("xigua_score not in", values, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreBetween(Integer value1, Integer value2) {
            addCriterion("xigua_score between", value1, value2, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andXiguaScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("xigua_score not between", value1, value2, "xiguaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreIsNull() {
            addCriterion("zhima_score is null");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreIsNotNull() {
            addCriterion("zhima_score is not null");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreEqualTo(Integer value) {
            addCriterion("zhima_score =", value, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreNotEqualTo(Integer value) {
            addCriterion("zhima_score <>", value, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreGreaterThan(Integer value) {
            addCriterion("zhima_score >", value, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("zhima_score >=", value, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreLessThan(Integer value) {
            addCriterion("zhima_score <", value, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreLessThanOrEqualTo(Integer value) {
            addCriterion("zhima_score <=", value, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreIn(List<Integer> values) {
            addCriterion("zhima_score in", values, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreNotIn(List<Integer> values) {
            addCriterion("zhima_score not in", values, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreBetween(Integer value1, Integer value2) {
            addCriterion("zhima_score between", value1, value2, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andZhimaScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("zhima_score not between", value1, value2, "zhimaScore");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountIsNull() {
            addCriterion("platform_apply_count is null");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountIsNotNull() {
            addCriterion("platform_apply_count is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountEqualTo(Integer value) {
            addCriterion("platform_apply_count =", value, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountNotEqualTo(Integer value) {
            addCriterion("platform_apply_count <>", value, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountGreaterThan(Integer value) {
            addCriterion("platform_apply_count >", value, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform_apply_count >=", value, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountLessThan(Integer value) {
            addCriterion("platform_apply_count <", value, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountLessThanOrEqualTo(Integer value) {
            addCriterion("platform_apply_count <=", value, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountIn(List<Integer> values) {
            addCriterion("platform_apply_count in", values, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountNotIn(List<Integer> values) {
            addCriterion("platform_apply_count not in", values, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountBetween(Integer value1, Integer value2) {
            addCriterion("platform_apply_count between", value1, value2, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformApplyCountNotBetween(Integer value1, Integer value2) {
            addCriterion("platform_apply_count not between", value1, value2, "platformApplyCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountIsNull() {
            addCriterion("platform_loan_count is null");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountIsNotNull() {
            addCriterion("platform_loan_count is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountEqualTo(Integer value) {
            addCriterion("platform_loan_count =", value, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountNotEqualTo(Integer value) {
            addCriterion("platform_loan_count <>", value, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountGreaterThan(Integer value) {
            addCriterion("platform_loan_count >", value, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform_loan_count >=", value, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountLessThan(Integer value) {
            addCriterion("platform_loan_count <", value, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountLessThanOrEqualTo(Integer value) {
            addCriterion("platform_loan_count <=", value, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountIn(List<Integer> values) {
            addCriterion("platform_loan_count in", values, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountNotIn(List<Integer> values) {
            addCriterion("platform_loan_count not in", values, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountBetween(Integer value1, Integer value2) {
            addCriterion("platform_loan_count between", value1, value2, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformLoanCountNotBetween(Integer value1, Integer value2) {
            addCriterion("platform_loan_count not between", value1, value2, "platformLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountIsNull() {
            addCriterion("platform_all_loan_count is null");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountIsNotNull() {
            addCriterion("platform_all_loan_count is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountEqualTo(Integer value) {
            addCriterion("platform_all_loan_count =", value, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountNotEqualTo(Integer value) {
            addCriterion("platform_all_loan_count <>", value, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountGreaterThan(Integer value) {
            addCriterion("platform_all_loan_count >", value, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform_all_loan_count >=", value, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountLessThan(Integer value) {
            addCriterion("platform_all_loan_count <", value, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountLessThanOrEqualTo(Integer value) {
            addCriterion("platform_all_loan_count <=", value, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountIn(List<Integer> values) {
            addCriterion("platform_all_loan_count in", values, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountNotIn(List<Integer> values) {
            addCriterion("platform_all_loan_count not in", values, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountBetween(Integer value1, Integer value2) {
            addCriterion("platform_all_loan_count between", value1, value2, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andPlatformAllLoanCountNotBetween(Integer value1, Integer value2) {
            addCriterion("platform_all_loan_count not between", value1, value2, "platformAllLoanCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountIsNull() {
            addCriterion("all_platform_apply_count is null");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountIsNotNull() {
            addCriterion("all_platform_apply_count is not null");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountEqualTo(Integer value) {
            addCriterion("all_platform_apply_count =", value, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountNotEqualTo(Integer value) {
            addCriterion("all_platform_apply_count <>", value, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountGreaterThan(Integer value) {
            addCriterion("all_platform_apply_count >", value, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("all_platform_apply_count >=", value, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountLessThan(Integer value) {
            addCriterion("all_platform_apply_count <", value, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountLessThanOrEqualTo(Integer value) {
            addCriterion("all_platform_apply_count <=", value, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountIn(List<Integer> values) {
            addCriterion("all_platform_apply_count in", values, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountNotIn(List<Integer> values) {
            addCriterion("all_platform_apply_count not in", values, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountBetween(Integer value1, Integer value2) {
            addCriterion("all_platform_apply_count between", value1, value2, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformApplyCountNotBetween(Integer value1, Integer value2) {
            addCriterion("all_platform_apply_count not between", value1, value2, "allPlatformApplyCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountIsNull() {
            addCriterion("all_platform_count is null");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountIsNotNull() {
            addCriterion("all_platform_count is not null");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountEqualTo(Integer value) {
            addCriterion("all_platform_count =", value, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountNotEqualTo(Integer value) {
            addCriterion("all_platform_count <>", value, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountGreaterThan(Integer value) {
            addCriterion("all_platform_count >", value, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("all_platform_count >=", value, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountLessThan(Integer value) {
            addCriterion("all_platform_count <", value, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountLessThanOrEqualTo(Integer value) {
            addCriterion("all_platform_count <=", value, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountIn(List<Integer> values) {
            addCriterion("all_platform_count in", values, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountNotIn(List<Integer> values) {
            addCriterion("all_platform_count not in", values, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountBetween(Integer value1, Integer value2) {
            addCriterion("all_platform_count between", value1, value2, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andAllPlatformCountNotBetween(Integer value1, Integer value2) {
            addCriterion("all_platform_count not between", value1, value2, "allPlatformCount");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusIsNull() {
            addCriterion("repayment_status is null");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusIsNotNull() {
            addCriterion("repayment_status is not null");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusEqualTo(Boolean value) {
            addCriterion("repayment_status =", value, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusNotEqualTo(Boolean value) {
            addCriterion("repayment_status <>", value, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusGreaterThan(Boolean value) {
            addCriterion("repayment_status >", value, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("repayment_status >=", value, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusLessThan(Boolean value) {
            addCriterion("repayment_status <", value, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusLessThanOrEqualTo(Boolean value) {
            addCriterion("repayment_status <=", value, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusIn(List<Boolean> values) {
            addCriterion("repayment_status in", values, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusNotIn(List<Boolean> values) {
            addCriterion("repayment_status not in", values, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusBetween(Boolean value1, Boolean value2) {
            addCriterion("repayment_status between", value1, value2, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andRepaymentStatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("repayment_status not between", value1, value2, "repaymentStatus");
            return (Criteria) this;
        }

        public Criteria andOverdueIsNull() {
            addCriterion("overdue is null");
            return (Criteria) this;
        }

        public Criteria andOverdueIsNotNull() {
            addCriterion("overdue is not null");
            return (Criteria) this;
        }

        public Criteria andOverdueEqualTo(Boolean value) {
            addCriterion("overdue =", value, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueNotEqualTo(Boolean value) {
            addCriterion("overdue <>", value, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueGreaterThan(Boolean value) {
            addCriterion("overdue >", value, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueGreaterThanOrEqualTo(Boolean value) {
            addCriterion("overdue >=", value, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueLessThan(Boolean value) {
            addCriterion("overdue <", value, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueLessThanOrEqualTo(Boolean value) {
            addCriterion("overdue <=", value, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueIn(List<Boolean> values) {
            addCriterion("overdue in", values, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueNotIn(List<Boolean> values) {
            addCriterion("overdue not in", values, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueBetween(Boolean value1, Boolean value2) {
            addCriterion("overdue between", value1, value2, "overdue");
            return (Criteria) this;
        }

        public Criteria andOverdueNotBetween(Boolean value1, Boolean value2) {
            addCriterion("overdue not between", value1, value2, "overdue");
            return (Criteria) this;
        }

        public Criteria andReborrowIsNull() {
            addCriterion("reborrow is null");
            return (Criteria) this;
        }

        public Criteria andReborrowIsNotNull() {
            addCriterion("reborrow is not null");
            return (Criteria) this;
        }

        public Criteria andReborrowEqualTo(Boolean value) {
            addCriterion("reborrow =", value, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowNotEqualTo(Boolean value) {
            addCriterion("reborrow <>", value, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowGreaterThan(Boolean value) {
            addCriterion("reborrow >", value, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowGreaterThanOrEqualTo(Boolean value) {
            addCriterion("reborrow >=", value, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowLessThan(Boolean value) {
            addCriterion("reborrow <", value, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowLessThanOrEqualTo(Boolean value) {
            addCriterion("reborrow <=", value, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowIn(List<Boolean> values) {
            addCriterion("reborrow in", values, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowNotIn(List<Boolean> values) {
            addCriterion("reborrow not in", values, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowBetween(Boolean value1, Boolean value2) {
            addCriterion("reborrow between", value1, value2, "reborrow");
            return (Criteria) this;
        }

        public Criteria andReborrowNotBetween(Boolean value1, Boolean value2) {
            addCriterion("reborrow not between", value1, value2, "reborrow");
            return (Criteria) this;
        }

        public Criteria andPassIsNull() {
            addCriterion("pass is null");
            return (Criteria) this;
        }

        public Criteria andPassIsNotNull() {
            addCriterion("pass is not null");
            return (Criteria) this;
        }

        public Criteria andPassEqualTo(Boolean value) {
            addCriterion("pass =", value, "pass");
            return (Criteria) this;
        }

        public Criteria andPassNotEqualTo(Boolean value) {
            addCriterion("pass <>", value, "pass");
            return (Criteria) this;
        }

        public Criteria andPassGreaterThan(Boolean value) {
            addCriterion("pass >", value, "pass");
            return (Criteria) this;
        }

        public Criteria andPassGreaterThanOrEqualTo(Boolean value) {
            addCriterion("pass >=", value, "pass");
            return (Criteria) this;
        }

        public Criteria andPassLessThan(Boolean value) {
            addCriterion("pass <", value, "pass");
            return (Criteria) this;
        }

        public Criteria andPassLessThanOrEqualTo(Boolean value) {
            addCriterion("pass <=", value, "pass");
            return (Criteria) this;
        }

        public Criteria andPassIn(List<Boolean> values) {
            addCriterion("pass in", values, "pass");
            return (Criteria) this;
        }

        public Criteria andPassNotIn(List<Boolean> values) {
            addCriterion("pass not in", values, "pass");
            return (Criteria) this;
        }

        public Criteria andPassBetween(Boolean value1, Boolean value2) {
            addCriterion("pass between", value1, value2, "pass");
            return (Criteria) this;
        }

        public Criteria andPassNotBetween(Boolean value1, Boolean value2) {
            addCriterion("pass not between", value1, value2, "pass");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdIsNull() {
            addCriterion("customer_tag_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdIsNotNull() {
            addCriterion("customer_tag_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdEqualTo(Long value) {
            addCriterion("customer_tag_id =", value, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdNotEqualTo(Long value) {
            addCriterion("customer_tag_id <>", value, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdGreaterThan(Long value) {
            addCriterion("customer_tag_id >", value, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdGreaterThanOrEqualTo(Long value) {
            addCriterion("customer_tag_id >=", value, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdLessThan(Long value) {
            addCriterion("customer_tag_id <", value, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdLessThanOrEqualTo(Long value) {
            addCriterion("customer_tag_id <=", value, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdIn(List<Long> values) {
            addCriterion("customer_tag_id in", values, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdNotIn(List<Long> values) {
            addCriterion("customer_tag_id not in", values, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdBetween(Long value1, Long value2) {
            addCriterion("customer_tag_id between", value1, value2, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andCustomerTagIdNotBetween(Long value1, Long value2) {
            addCriterion("customer_tag_id not between", value1, value2, "customerTagId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdIsNull() {
            addCriterion("rc_flow_id is null");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdIsNotNull() {
            addCriterion("rc_flow_id is not null");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdEqualTo(Long value) {
            addCriterion("rc_flow_id =", value, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdNotEqualTo(Long value) {
            addCriterion("rc_flow_id <>", value, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdGreaterThan(Long value) {
            addCriterion("rc_flow_id >", value, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdGreaterThanOrEqualTo(Long value) {
            addCriterion("rc_flow_id >=", value, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdLessThan(Long value) {
            addCriterion("rc_flow_id <", value, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdLessThanOrEqualTo(Long value) {
            addCriterion("rc_flow_id <=", value, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdIn(List<Long> values) {
            addCriterion("rc_flow_id in", values, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdNotIn(List<Long> values) {
            addCriterion("rc_flow_id not in", values, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdBetween(Long value1, Long value2) {
            addCriterion("rc_flow_id between", value1, value2, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andRiskControlFlowIdNotBetween(Long value1, Long value2) {
            addCriterion("rc_flow_id not between", value1, value2, "riskControlFlowId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Long value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Long value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Long value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Long value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Long value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Long> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Long> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Long value1, Long value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Long value1, Long value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNull() {
            addCriterion("customer_name is null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNotNull() {
            addCriterion("customer_name is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameEqualTo(String value) {
            addCriterion("customer_name =", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotEqualTo(String value) {
            addCriterion("customer_name <>", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThan(String value) {
            addCriterion("customer_name >", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThanOrEqualTo(String value) {
            addCriterion("customer_name >=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThan(String value) {
            addCriterion("customer_name <", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThanOrEqualTo(String value) {
            addCriterion("customer_name <=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLike(String value) {
            addCriterion("customer_name like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotLike(String value) {
            addCriterion("customer_name not like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIn(List<String> values) {
            addCriterion("customer_name in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotIn(List<String> values) {
            addCriterion("customer_name not in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameBetween(String value1, String value2) {
            addCriterion("customer_name between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotBetween(String value1, String value2) {
            addCriterion("customer_name not between", value1, value2, "customerName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}